<link href="${rc.getContextPath()}/manage/css/dwzCustomCss/dwz.custom.css?v=${ver}" rel="stylesheet" type="text/css">
<#include "/common/pagerForm.html">
<form rel="pagerForm" method="post" action="${rc.getContextPath()}/manage/menu/selectResource" onsubmit="return dwzSearch(this, 'dialog');">
<div class="pageHeader">
    <div >
                <div style=" float: left; height: 26px; width: 250px;">
                <label  id="roleCode"><@label key="resourceCode.L">资源编码：</@label></label>
                <input type="text" name="resourceCode" value="${condition.resourceCode!''}"/>
                </div>
                <div style=" float: left; height: 26px; width: 250px;">
                <label  id="roleText"><@label key="resourceText.L">资源描述：</@label></label>
                <input type="text" name="resourceText" value="${condition.resourceText!''}"/>
                </div>
                <div class="buttonActive"><div class="buttonContent"><button type="submit"><@label key="query.B">查询</@label></button></div></div>

    </div>
</div>
    </form>

<div class="pageContent" style="width:99%">
    <table class="table border" width="100%" layoutH="130">
        <thead>
            <tr>
                <th width="100" orderField="resourceCode" <#if (page.orderField?? && page.orderField == 'resourceCode')>class="${page.orderDirection!''}"</#if>><@label key="resourceCode.C">资源编号</@label></th>
                <th width="100" orderField="resourceText" <#if (page.orderField?? && page.orderField == 'resourceText')>class="${page.orderDirection!''}"</#if>><@label key="resourceText.C">资源描述</@label></th>
                <th width="50" orderField="resourceTypeECode" <#if (page.orderField?? && page.orderField == 'resourceTypeECode')>class="${page.orderDirection!''}"</#if>><@label key="resourceTypeECode.C">资源类型</@label></th>
                <th width="80"><@label key="select.B">选择</@label></th>
            </tr>
        </thead>
        <tbody>
        <#if page??><#if (page.data?size>0)> <#list page.data as resource>
            <tr target="resource_code" rel="${resource.resourceCode!''}">
                <td>${resource.resourceCode!''}</td>
                <td>${resource.resourceText!''}</td>
                <td>${resource.resourceTypeText!''}</td>
                <td>
                    <a class="btnSelect bringBack" value="id:'${resource.resourceCode!''}', name:'<@json_escape>${resource.resourceText!''}</@json_escape>'" title="<@label key="selectResource.D">选择资源</@label>"><@label key="select.B">选择</@label></a>
                </td>
            </tr>
        </#list>
        <#else>
        <tr target="resource_id">
        <td colspan="6" class="noData">======<@label key="noListData.C">列表无数据</@label>=====</td>
        </tr>
        </#if>
        <#else>
        <tr target="resource_id">
                    <td colspan="6" class="noData">======<@label key="noListData.C">列表无数据</@label>=====</td>
        </tr>
        </#if>
        </tbody>
    </table>
    <#include "/common/dialogPanelBar.html">
</div>
<div class="formBar">
        <ul>
            <li>
            <div class="buttonActive" >
                        <div class="buttonContent" >
                            <button class="close" type="button"><@label key="close.B">关闭</@label></button>
                        </div>
                    </div>
            </li>
        
        </ul>
    </div>
